package com.alan.ssh.service.impl;

import com.alan.ssh.dao.ProductDao;
import com.alan.ssh.model.Product;
import com.alan.ssh.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Alan
 * @Description
 * @date 2020年11月30日 21:41
 */
@Service
public class ProductServiceImpl  implements ProductService {
    @Autowired
    private ProductDao productDao;

    @Override
    public void saveProduct(Product product) {
        productDao.saveProduct(product);
    }
}
